<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>MongoClient | mongodb</title>
	<meta name="description" content="Documentation for mongodb">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">mongodb</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../modules.html">mongodb</a>
				</li>
				<li>
					<a href="mongoclient.html">MongoClient</a>
				</li>
			</ul>
			<h1>Class MongoClient</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>The <strong>MongoClient</strong> class is a class that allows for making Connections to MongoDB.</p>
					</div>
					<dl class="tsd-comment-tags">
						<dt>remarks</dt>
						<dd><p>The programmatically provided options take precedence over the URI options.</p>
						</dd>
						<dt>example</dt>
						<dd><pre><code class="language-js"><span style="color: #008000">// Connect using a MongoClient instance</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">MongoClient</span><span style="color: #000000"> = </span><span style="color: #795E26">require</span><span style="color: #000000">(</span><span style="color: #A31515">&#039;mongodb&#039;</span><span style="color: #000000">).</span><span style="color: #001080">MongoClient</span><span style="color: #000000">;</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">test</span><span style="color: #000000"> = </span><span style="color: #795E26">require</span><span style="color: #000000">(</span><span style="color: #A31515">&#039;assert&#039;</span><span style="color: #000000">);</span>
<span style="color: #008000">// Connection url</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">url</span><span style="color: #000000"> = </span><span style="color: #A31515">&#039;mongodb://localhost:27017&#039;</span><span style="color: #000000">;</span>
<span style="color: #008000">// Database Name</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">dbName</span><span style="color: #000000"> = </span><span style="color: #A31515">&#039;test&#039;</span><span style="color: #000000">;</span>
<span style="color: #008000">// Connect using MongoClient</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">mongoClient</span><span style="color: #000000"> = </span><span style="color: #0000FF">new</span><span style="color: #000000"> </span><span style="color: #795E26">MongoClient</span><span style="color: #000000">(</span><span style="color: #001080">url</span><span style="color: #000000">);</span>
<span style="color: #001080">mongoClient</span><span style="color: #000000">.</span><span style="color: #795E26">connect</span><span style="color: #000000">(</span><span style="color: #0000FF">function</span><span style="color: #000000">(</span><span style="color: #001080">err</span><span style="color: #000000">, </span><span style="color: #001080">client</span><span style="color: #000000">) {</span>
<span style="color: #000000">  </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">db</span><span style="color: #000000"> = </span><span style="color: #001080">client</span><span style="color: #000000">.</span><span style="color: #795E26">db</span><span style="color: #000000">(</span><span style="color: #001080">dbName</span><span style="color: #000000">);</span>
<span style="color: #000000">  </span><span style="color: #001080">client</span><span style="color: #000000">.</span><span style="color: #795E26">close</span><span style="color: #000000">();</span>
<span style="color: #000000">});</span>
</code></pre>
						</dd>
						<dt>example</dt>
						<dd><pre><code class="language-js"><span style="color: #008000">// Connect using the MongoClient.connect static method</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">MongoClient</span><span style="color: #000000"> = </span><span style="color: #795E26">require</span><span style="color: #000000">(</span><span style="color: #A31515">&#039;mongodb&#039;</span><span style="color: #000000">).</span><span style="color: #001080">MongoClient</span><span style="color: #000000">;</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">test</span><span style="color: #000000"> = </span><span style="color: #795E26">require</span><span style="color: #000000">(</span><span style="color: #A31515">&#039;assert&#039;</span><span style="color: #000000">);</span>
<span style="color: #008000">// Connection url</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">url</span><span style="color: #000000"> = </span><span style="color: #A31515">&#039;mongodb://localhost:27017&#039;</span><span style="color: #000000">;</span>
<span style="color: #008000">// Database Name</span>
<span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">dbName</span><span style="color: #000000"> = </span><span style="color: #A31515">&#039;test&#039;</span><span style="color: #000000">;</span>
<span style="color: #008000">// Connect using MongoClient</span>
<span style="color: #001080">MongoClient</span><span style="color: #000000">.</span><span style="color: #795E26">connect</span><span style="color: #000000">(</span><span style="color: #001080">url</span><span style="color: #000000">, </span><span style="color: #0000FF">function</span><span style="color: #000000">(</span><span style="color: #001080">err</span><span style="color: #000000">, </span><span style="color: #001080">client</span><span style="color: #000000">) {</span>
<span style="color: #000000">  </span><span style="color: #0000FF">const</span><span style="color: #000000"> </span><span style="color: #0070C1">db</span><span style="color: #000000"> = </span><span style="color: #001080">client</span><span style="color: #000000">.</span><span style="color: #795E26">db</span><span style="color: #000000">(</span><span style="color: #001080">dbName</span><span style="color: #000000">);</span>
<span style="color: #000000">  </span><span style="color: #001080">client</span><span style="color: #000000">.</span><span style="color: #795E26">close</span><span style="color: #000000">();</span>
<span style="color: #000000">});</span>
</code></pre>
						</dd>
					</dl>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<a href="typedeventemitter.html" class="tsd-signature-type" data-tsd-kind="Class">TypedEventEmitter</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">&gt;</span>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">MongoClient</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="mongoclient.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="mongoclient.html#_koptions_" class="tsd-kind-icon">[k<wbr>Options]</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="mongoclient.html#s" class="tsd-kind-icon">s</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="mongoclient.html#topology" class="tsd-kind-icon">topology</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="mongoclient.html#capturerejectionsymbol" class="tsd-kind-icon">capture<wbr>Rejection<wbr>Symbol</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="mongoclient.html#capturerejections" class="tsd-kind-icon">capture<wbr>Rejections</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="mongoclient.html#defaultmaxlisteners" class="tsd-kind-icon">default<wbr>Max<wbr>Listeners</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="mongoclient.html#errormonitor" class="tsd-kind-icon">error<wbr>Monitor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Accessors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="mongoclient.html#autoencrypter" class="tsd-kind-icon">auto<wbr>Encrypter</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="mongoclient.html#bsonoptions" class="tsd-kind-icon">bson<wbr>Options</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="mongoclient.html#logger" class="tsd-kind-icon">logger</a></li>
								<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="mongoclient.html#monitorcommands" class="tsd-kind-icon">monitor<wbr>Commands</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="mongoclient.html#options" class="tsd-kind-icon">options</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="mongoclient.html#readconcern" class="tsd-kind-icon">read<wbr>Concern</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="mongoclient.html#readpreference" class="tsd-kind-icon">read<wbr>Preference</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="mongoclient.html#serverapi" class="tsd-kind-icon">server<wbr>Api</a></li>
								<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="mongoclient.html#writeconcern" class="tsd-kind-icon">write<wbr>Concern</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#addlistener" class="tsd-kind-icon">add<wbr>Listener</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mongoclient.html#close" class="tsd-kind-icon">close</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mongoclient.html#connect" class="tsd-kind-icon">connect</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mongoclient.html#db" class="tsd-kind-icon">db</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#emit" class="tsd-kind-icon">emit</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="mongoclient.html#eventnames" class="tsd-kind-icon">event<wbr>Names</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mongoclient.html#getlogger" class="tsd-kind-icon">get<wbr>Logger</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="mongoclient.html#getmaxlisteners" class="tsd-kind-icon">get<wbr>Max<wbr>Listeners</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#listenercount" class="tsd-kind-icon">listener<wbr>Count</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#listeners" class="tsd-kind-icon">listeners</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#off" class="tsd-kind-icon">off</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#on" class="tsd-kind-icon">on</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#once" class="tsd-kind-icon">once</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#prependlistener" class="tsd-kind-icon">prepend<wbr>Listener</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#prependoncelistener" class="tsd-kind-icon">prepend<wbr>Once<wbr>Listener</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#rawlisteners" class="tsd-kind-icon">raw<wbr>Listeners</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#removealllisteners" class="tsd-kind-icon">remove<wbr>All<wbr>Listeners</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="mongoclient.html#removelistener" class="tsd-kind-icon">remove<wbr>Listener</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="mongoclient.html#setmaxlisteners" class="tsd-kind-icon">set<wbr>Max<wbr>Listeners</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mongoclient.html#startsession" class="tsd-kind-icon">start<wbr>Session</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter"><a href="mongoclient.html#watch" class="tsd-kind-icon">watch</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="mongoclient.html#withsession" class="tsd-kind-icon">with<wbr>Session</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="mongoclient.html#connect-1" class="tsd-kind-icon">connect</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="mongoclient.html#geteventlistener" class="tsd-kind-icon">get<wbr>Event<wbr>Listener</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="mongoclient.html#listenercount-1" class="tsd-kind-icon">listener<wbr>Count</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="mongoclient.html#on-1" class="tsd-kind-icon">on</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external"><a href="mongoclient.html#once-1" class="tsd-kind-icon">once</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Mongo<wbr>Client<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/mongoclientoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoClientOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#constructor">constructor</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L320">src/mongo_client.ts:320</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/mongoclientoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoClientOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="_koptions_" class="tsd-anchor"></a>
					<h3>[k<wbr>Options]</h3>
					<div class="tsd-signature tsd-kind-icon">[k<wbr>Options]<span class="tsd-signature-symbol">:</span> <a href="../interfaces/mongooptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoOptions</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L320">src/mongo_client.ts:320</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>The consolidate, parsed, transformed and merged options.</p>
						</div>
						<dl class="tsd-comment-tags">
							<dt>internal</dt>
							<dd></dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="s" class="tsd-anchor"></a>
					<h3>s</h3>
					<div class="tsd-signature tsd-kind-icon">s<span class="tsd-signature-symbol">:</span> <a href="../interfaces/mongoclientprivate.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoClientPrivate</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L312">src/mongo_client.ts:312</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>internal</dt>
							<dd></dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="topology" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagOptional">Optional</span> topology</h3>
					<div class="tsd-signature tsd-kind-icon">topology<span class="tsd-signature-symbol">:</span> <a href="topology.html" class="tsd-signature-type" data-tsd-kind="Class">Topology</a></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L314">src/mongo_client.ts:314</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<dl class="tsd-comment-tags">
							<dt>internal</dt>
							<dd></dd>
						</dl>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
					<a name="capturerejectionsymbol" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> capture<wbr>Rejection<wbr>Symbol</h3>
					<div class="tsd-signature tsd-kind-icon">capture<wbr>Rejection<wbr>Symbol<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="mongoclient.html#capturerejectionsymbol" class="tsd-signature-type" data-tsd-kind="Property">captureRejectionSymbol</a></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#capturerejectionsymbol">captureRejectionSymbol</a></p>
						<ul>
							<li>Defined in node_modules/@types/node/events.d.ts:46</li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
					<a name="capturerejections" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> capture<wbr>Rejections</h3>
					<div class="tsd-signature tsd-kind-icon">capture<wbr>Rejections<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#capturerejections">captureRejections</a></p>
						<ul>
							<li>Defined in node_modules/@types/node/events.d.ts:52</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Sets or gets the default captureRejection value for all emitters.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
					<a name="defaultmaxlisteners" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> default<wbr>Max<wbr>Listeners</h3>
					<div class="tsd-signature tsd-kind-icon">default<wbr>Max<wbr>Listeners<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#defaultmaxlisteners">defaultMaxListeners</a></p>
						<ul>
							<li>Defined in node_modules/@types/node/events.d.ts:53</li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
					<a name="errormonitor" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> error<wbr>Monitor</h3>
					<div class="tsd-signature tsd-kind-icon">error<wbr>Monitor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">typeof </span><a href="mongoclient.html#errormonitor" class="tsd-signature-type" data-tsd-kind="Property">errorMonitor</a></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#errormonitor">errorMonitor</a></p>
						<ul>
							<li>Defined in node_modules/@types/node/events.d.ts:45</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>This symbol shall be used to install a listener for only monitoring <code>&#39;error&#39;</code>
								events. Listeners installed using this symbol are called before the regular
							<code>&#39;error&#39;</code> listeners are called.</p>
						</div>
						<p>Installing a listener using this symbol does not change the behavior once an
							<code>&#39;error&#39;</code> event is emitted, therefore the process will still crash if no
						regular <code>&#39;error&#39;</code> listener is installed.</p>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Accessors</h2>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="autoencrypter" class="tsd-anchor"></a>
					<h3>auto<wbr>Encrypter</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> autoEncrypter<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/autoencrypter.html" class="tsd-signature-type" data-tsd-kind="Interface">AutoEncrypter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L373">src/mongo_client.ts:373</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/autoencrypter.html" class="tsd-signature-type" data-tsd-kind="Interface">AutoEncrypter</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="bsonoptions" class="tsd-anchor"></a>
					<h3>bson<wbr>Options</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> bsonOptions<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/bsonserializeoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">BSONSerializeOptions</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L389">src/mongo_client.ts:389</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="../interfaces/bsonserializeoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">BSONSerializeOptions</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="logger" class="tsd-anchor"></a>
					<h3>logger</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> logger<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="logger.html" class="tsd-signature-type" data-tsd-kind="Class">Logger</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L393">src/mongo_client.ts:393</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="logger.html" class="tsd-signature-type" data-tsd-kind="Class">Logger</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class">
					<a name="monitorcommands" class="tsd-anchor"></a>
					<h3>monitor<wbr>Commands</h3>
					<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> monitorCommands<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> monitorCommands<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L366">src/mongo_client.ts:366</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Intended for APM use only</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>internal</dt>
									<dd></dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L369">src/mongo_client.ts:369</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Intended for APM use only</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="options" class="tsd-anchor"></a>
					<h3>options</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> options<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/mongooptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoOptions</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L355">src/mongo_client.ts:355</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/mongooptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoOptions</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="readconcern" class="tsd-anchor"></a>
					<h3>read<wbr>Concern</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> readConcern<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="readconcern.html" class="tsd-signature-type" data-tsd-kind="Class">ReadConcern</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L377">src/mongo_client.ts:377</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="readconcern.html" class="tsd-signature-type" data-tsd-kind="Class">ReadConcern</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="readpreference" class="tsd-anchor"></a>
					<h3>read<wbr>Preference</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> readPreference<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="readpreference.html" class="tsd-signature-type" data-tsd-kind="Class">ReadPreference</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L385">src/mongo_client.ts:385</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="readpreference.html" class="tsd-signature-type" data-tsd-kind="Class">ReadPreference</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="serverapi" class="tsd-anchor"></a>
					<h3>server<wbr>Api</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> serverApi<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/serverapi.html" class="tsd-signature-type" data-tsd-kind="Interface">ServerApi</a><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L359">src/mongo_client.ts:359</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/serverapi.html" class="tsd-signature-type" data-tsd-kind="Interface">ServerApi</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
					<a name="writeconcern" class="tsd-anchor"></a>
					<h3>write<wbr>Concern</h3>
					<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> writeConcern<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="writeconcern.html" class="tsd-signature-type" data-tsd-kind="Class">WriteConcern</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L381">src/mongo_client.ts:381</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="writeconcern.html" class="tsd-signature-type" data-tsd-kind="Class">WriteConcern</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="addlistener" class="tsd-anchor"></a>
					<h3>add<wbr>Listener</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Listener&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventKey</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">add<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">add<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#addlistener">addListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L342">src/mongo_types.ts:342</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">EventKey</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#addlistener">addListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L343">src/mongo_types.ts:343</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>eventName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
														</li>
														<li>
															<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#addlistener">addListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L347">src/mongo_types.ts:347</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="close" class="tsd-anchor"></a>
					<h3>close</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">close<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
						<li class="tsd-signature tsd-kind-icon">close<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
						<li class="tsd-signature tsd-kind-icon">close<span class="tsd-signature-symbol">(</span>force<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
						<li class="tsd-signature tsd-kind-icon">close<span class="tsd-signature-symbol">(</span>force<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L423">src/mongo_client.ts:423</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Close the db and its underlying connections</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L424">src/mongo_client.ts:424</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L425">src/mongo_client.ts:425</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>force: <span class="tsd-signature-type">boolean</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L426">src/mongo_client.ts:426</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>force: <span class="tsd-signature-type">boolean</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="connect" class="tsd-anchor"></a>
					<h3>connect</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></li>
						<li class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L402">src/mongo_client.ts:402</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Connect to MongoDB using a url</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>see</dt>
									<dd><p>docs.mongodb.org/manual/reference/connection-string/</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L403">src/mongo_client.ts:403</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="db" class="tsd-anchor"></a>
					<h3>db</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">db<span class="tsd-signature-symbol">(</span>dbName<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/dboptions.html" class="tsd-signature-type" data-tsd-kind="Interface">DbOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="db.html" class="tsd-signature-type" data-tsd-kind="Class">Db</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L465">src/mongo_client.ts:465</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Create a new Db instance sharing the current socket connections.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> dbName: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>The name of the database we want to use. If not provided, use database name from connection string.</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/dboptions.html" class="tsd-signature-type" data-tsd-kind="Interface">DbOptions</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>Optional settings for Db construction</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="db.html" class="tsd-signature-type" data-tsd-kind="Class">Db</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="emit" class="tsd-anchor"></a>
					<h3>emit</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">emit&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span>, <span class="tsd-signature-symbol">...</span>args<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#emit">emit</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L389">src/mongo_types.ts:389</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagRest">Rest</span> <span class="tsd-signature-symbol">...</span>args: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="eventnames" class="tsd-anchor"></a>
					<h3>event<wbr>Names</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">event<wbr>Names<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#eventnames">eventNames</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L415">src/mongo_types.ts:415</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="getlogger" class="tsd-anchor"></a>
					<h3>get<wbr>Logger</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Logger<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="logger.html" class="tsd-signature-type" data-tsd-kind="Class">Logger</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L613">src/mongo_client.ts:613</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Return the mongo client logger</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="logger.html" class="tsd-signature-type" data-tsd-kind="Class">Logger</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="getmaxlisteners" class="tsd-anchor"></a>
					<h3>get<wbr>Max<wbr>Listeners</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Max<wbr>Listeners<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#getmaxlisteners">getMaxListeners</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L416">src/mongo_types.ts:416</a></li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="listenercount" class="tsd-anchor"></a>
					<h3>listener<wbr>Count</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">listener<wbr>Count&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#listenercount">listenerCount</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L394">src/mongo_types.ts:394</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>type: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="listeners" class="tsd-anchor"></a>
					<h3>listeners</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">listeners&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#listeners">listeners</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L381">src/mongo_types.ts:381</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="off" class="tsd-anchor"></a>
					<h3>off</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">off&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventKey</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">off<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">off<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#off">off</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L370">src/mongo_types.ts:370</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">EventKey</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#off">off</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L371">src/mongo_types.ts:371</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>eventName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
														</li>
														<li>
															<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#off">off</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L375">src/mongo_types.ts:375</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="on" class="tsd-anchor"></a>
					<h3>on</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">on&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventKey</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#on">on</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L349">src/mongo_types.ts:349</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">EventKey</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#on">on</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L350">src/mongo_types.ts:350</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>eventName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
														</li>
														<li>
															<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#on">on</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L354">src/mongo_types.ts:354</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="once" class="tsd-anchor"></a>
					<h3>once</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">once&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventKey</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">once<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">once<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#once">once</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L356">src/mongo_types.ts:356</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">EventKey</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#once">once</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L357">src/mongo_types.ts:357</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>eventName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
														</li>
														<li>
															<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#once">once</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L361">src/mongo_types.ts:361</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="prependlistener" class="tsd-anchor"></a>
					<h3>prepend<wbr>Listener</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">prepend<wbr>Listener&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventKey</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">prepend<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">prepend<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#prependlistener">prependListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L398">src/mongo_types.ts:398</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">EventKey</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#prependlistener">prependListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L399">src/mongo_types.ts:399</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>eventName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
														</li>
														<li>
															<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#prependlistener">prependListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L403">src/mongo_types.ts:403</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="prependoncelistener" class="tsd-anchor"></a>
					<h3>prepend<wbr>Once<wbr>Listener</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">prepend<wbr>Once<wbr>Listener&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventKey</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">prepend<wbr>Once<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">prepend<wbr>Once<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#prependoncelistener">prependOnceListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L405">src/mongo_types.ts:405</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">EventKey</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#prependoncelistener">prependOnceListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L409">src/mongo_types.ts:409</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>eventName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
														</li>
														<li>
															<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#prependoncelistener">prependOnceListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L413">src/mongo_types.ts:413</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="rawlisteners" class="tsd-anchor"></a>
					<h3>raw<wbr>Listeners</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">raw<wbr>Listeners&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#rawlisteners">rawListeners</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L385">src/mongo_types.ts:385</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="removealllisteners" class="tsd-anchor"></a>
					<h3>remove<wbr>All<wbr>Listeners</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>All<wbr>Listeners&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#removealllisteners">removeAllListeners</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L377">src/mongo_types.ts:377</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventKey</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
					<a name="removelistener" class="tsd-anchor"></a>
					<h3>remove<wbr>Listener</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Listener&lt;EventKey&gt;<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventKey</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a>, listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Listener<span class="tsd-signature-symbol">(</span>event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#removelistener">removeListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L363">src/mongo_types.ts:363</a></li>
								</ul>
							</aside>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>EventKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;close&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;commandFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatSucceeded&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverHeartbeatFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionPoolCleared&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCreated&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionReady&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutStarted&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckOutFailed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedOut&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;connectionCheckedIn&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;serverDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyOpening&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyClosed&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;topologyDescriptionChanged&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;error&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;timeout&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;open&quot;</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">EventKey</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#mongoclientevents" class="tsd-signature-type" data-tsd-kind="Type alias">MongoClientEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">EventKey</span><span class="tsd-signature-symbol">]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#removelistener">removeListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L364">src/mongo_types.ts:364</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <a href="../modules.html#commonevents" class="tsd-signature-type" data-tsd-kind="Type alias">CommonEvents</a></h5>
								</li>
								<li>
									<h5>listener: <span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></h5>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, listener<span class="tsd-signature-symbol">: </span><a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>eventName: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
														</li>
														<li>
															<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#removelistener">removeListener</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L368">src/mongo_types.ts:368</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
								<li>
									<h5>listener: <a href="../modules.html#genericlistener" class="tsd-signature-type" data-tsd-kind="Type alias">GenericListener</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="setmaxlisteners" class="tsd-anchor"></a>
					<h3>set<wbr>Max<wbr>Listeners</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Max<wbr>Listeners<span class="tsd-signature-symbol">(</span>n<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#setmaxlisteners">setMaxListeners</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_types.ts#L417">src/mongo_types.ts:417</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>n: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="startsession" class="tsd-anchor"></a>
					<h3>start<wbr>Session</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">start<wbr>Session<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="clientsession.html" class="tsd-signature-type" data-tsd-kind="Class">ClientSession</a></li>
						<li class="tsd-signature tsd-kind-icon">start<wbr>Session<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/clientsessionoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ClientSessionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="clientsession.html" class="tsd-signature-type" data-tsd-kind="Class">ClientSession</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L526">src/mongo_client.ts:526</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Starts a new session on the server</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="clientsession.html" class="tsd-signature-type" data-tsd-kind="Class">ClientSession</a></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L527">src/mongo_client.ts:527</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>options: <a href="../interfaces/clientsessionoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ClientSessionOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="clientsession.html" class="tsd-signature-type" data-tsd-kind="Class">ClientSession</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
					<a name="watch" class="tsd-anchor"></a>
					<h3>watch</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">watch&lt;TSchema&gt;<span class="tsd-signature-symbol">(</span>pipeline<span class="tsd-signature-symbol">?: </span><a href="../interfaces/document.html" class="tsd-signature-type" data-tsd-kind="Interface">Document</a><span class="tsd-signature-symbol">[]</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/changestreamoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ChangeStreamOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="changestream.html" class="tsd-signature-type" data-tsd-kind="Class">ChangeStream</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">TSchema</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L599">src/mongo_client.ts:599</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Create a new Change Stream, watching for new changes (insertions, updates,
										replacements, deletions, and invalidations) in this cluster. Will ignore all
									changes to system collections, as well as the local, admin, and config databases.</p>
								</div>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>TSchema = <a href="../interfaces/document.html" class="tsd-signature-type" data-tsd-kind="Interface">Document</a></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>pipeline: <a href="../interfaces/document.html" class="tsd-signature-type" data-tsd-kind="Interface">Document</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>An array of <a href="https://www.mongodb.com/docs/manual/reference/operator/aggregation-pipeline/" class="external">aggregation pipeline stages</a> through which to pass change stream documents. This allows for filtering (using $match) and manipulating the change stream documents.</p>
									</div>
								</li>
								<li>
									<h5>options: <a href="../interfaces/changestreamoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ChangeStreamOptions</a><span class="tsd-signature-symbol"> = {}</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Optional settings for the command</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="changestream.html" class="tsd-signature-type" data-tsd-kind="Class">ChangeStream</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">TSchema</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="withsession" class="tsd-anchor"></a>
					<h3>with<wbr>Session</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">with<wbr>Session<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#withsessioncallback" class="tsd-signature-type" data-tsd-kind="Type alias">WithSessionCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
						<li class="tsd-signature tsd-kind-icon">with<wbr>Session<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">: </span><a href="../interfaces/clientsessionoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ClientSessionOptions</a>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#withsessioncallback" class="tsd-signature-type" data-tsd-kind="Type alias">WithSessionCallback</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L546">src/mongo_client.ts:546</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Runs a given operation with an implicitly created session. The lifetime of the session
									will be handled without the need for user interaction.</p>
								</div>
								<p>NOTE: presently the operation MUST return a Promise (either explicit or implicitly as an async function)</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>callback: <a href="../modules.html#withsessioncallback" class="tsd-signature-type" data-tsd-kind="Type alias">WithSessionCallback</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>An callback to execute with an implicitly created session</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L547">src/mongo_client.ts:547</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>options: <a href="../interfaces/clientsessionoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ClientSessionOptions</a></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#withsessioncallback" class="tsd-signature-type" data-tsd-kind="Type alias">WithSessionCallback</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="connect-1" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> connect</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></li>
						<li class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
						<li class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/mongoclientoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoClientOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></li>
						<li class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">: </span><a href="../interfaces/mongoclientoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoClientOptions</a>, callback<span class="tsd-signature-symbol">: </span><a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L498">src/mongo_client.ts:498</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Connect to MongoDB using a url</p>
								</div>
								<dl class="tsd-comment-tags">
									<dt>remarks</dt>
									<dd><p>The programmatically provided options take precedence over the URI options.</p>
									</dd>
									<dt>see</dt>
									<dd><p><a href="https://www.mongodb.com/docs/manual/reference/connection-string/">https://www.mongodb.com/docs/manual/reference/connection-string/</a></p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L499">src/mongo_client.ts:499</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L500">src/mongo_client.ts:500</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>options: <a href="../interfaces/mongoclientoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoClientOptions</a></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in <a href="https://github.com/mongodb/node-mongodb-native/blob/b67af3cd/src/mongo_client.ts#L501">src/mongo_client.ts:501</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5>options: <a href="../interfaces/mongoclientoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">MongoClientOptions</a></h5>
								</li>
								<li>
									<h5>callback: <a href="../modules.html#callback" class="tsd-signature-type" data-tsd-kind="Type alias">Callback</a><span class="tsd-signature-symbol">&lt;</span><a href="mongoclient.html" class="tsd-signature-type" data-tsd-kind="Class">MongoClient</a><span class="tsd-signature-symbol">&gt;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
					<a name="geteventlistener" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Event<wbr>Listener</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Event<wbr>Listener<span class="tsd-signature-symbol">(</span>emitter<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">DOMEventTarget</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventEmitter</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#geteventlistener">getEventListener</a></p>
								<ul>
									<li>Defined in node_modules/@types/node/events.d.ts:34</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Returns a list listener for a specific emitter event name.</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>emitter: <span class="tsd-signature-type">DOMEventTarget</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">EventEmitter</span></h5>
								</li>
								<li>
									<h5>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
					<a name="listenercount-1" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> listener<wbr>Count</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
						<li class="tsd-signature tsd-kind-icon">listener<wbr>Count<span class="tsd-signature-symbol">(</span>emitter<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventEmitter</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#listenercount-1">listenerCount</a></p>
								<ul>
									<li>Defined in node_modules/@types/node/events.d.ts:30</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>deprecated</dt>
									<dd><p>since v4.0.0</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>emitter: <span class="tsd-signature-type">EventEmitter</span></h5>
								</li>
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
					<a name="on-1" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> on</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
						<li class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">(</span>emitter<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">EventEmitter</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">StaticEventEmitterOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">AsyncIterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#on-1">on</a></p>
								<ul>
									<li>Defined in node_modules/@types/node/events.d.ts:27</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>emitter: <span class="tsd-signature-type">EventEmitter</span></h5>
								</li>
								<li>
									<h5>event: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">StaticEventEmitterOptions</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncIterableIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
					<a name="once-1" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> once</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
						<li class="tsd-signature tsd-kind-icon">once<span class="tsd-signature-symbol">(</span>emitter<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NodeEventTarget</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">StaticEventEmitterOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li>
						<li class="tsd-signature tsd-kind-icon">once<span class="tsd-signature-symbol">(</span>emitter<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">DOMEventTarget</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">StaticEventEmitterOptions</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#once-1">once</a></p>
								<ul>
									<li>Defined in node_modules/@types/node/events.d.ts:25</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>emitter: <span class="tsd-signature-type">NodeEventTarget</span></h5>
								</li>
								<li>
									<h5>event: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">StaticEventEmitterOptions</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="typedeventemitter.html">TypedEventEmitter</a>.<a href="typedeventemitter.html#once-1">once</a></p>
								<ul>
									<li>Defined in node_modules/@types/node/events.d.ts:26</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>emitter: <span class="tsd-signature-type">DOMEventTarget</span></h5>
								</li>
								<li>
									<h5>event: <span class="tsd-signature-type">string</span></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">StaticEventEmitterOptions</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class=" ">
						<a href="../modules.html">Exports</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class">
						<a href="mongoclient.html" class="tsd-kind-icon">Mongo<wbr>Client</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
								<a href="mongoclient.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="mongoclient.html#_koptions_" class="tsd-kind-icon">[k<wbr>Options]</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="mongoclient.html#s" class="tsd-kind-icon">s</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="mongoclient.html#topology" class="tsd-kind-icon">topology</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
								<a href="mongoclient.html#capturerejectionsymbol" class="tsd-kind-icon">capture<wbr>Rejection<wbr>Symbol</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
								<a href="mongoclient.html#capturerejections" class="tsd-kind-icon">capture<wbr>Rejections</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
								<a href="mongoclient.html#defaultmaxlisteners" class="tsd-kind-icon">default<wbr>Max<wbr>Listeners</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
								<a href="mongoclient.html#errormonitor" class="tsd-kind-icon">error<wbr>Monitor</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="mongoclient.html#autoencrypter" class="tsd-kind-icon">auto<wbr>Encrypter</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="mongoclient.html#bsonoptions" class="tsd-kind-icon">bson<wbr>Options</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="mongoclient.html#logger" class="tsd-kind-icon">logger</a>
							</li>
							<li class=" tsd-kind-accessor tsd-parent-kind-class">
								<a href="mongoclient.html#monitorcommands" class="tsd-kind-icon">monitor<wbr>Commands</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="mongoclient.html#options" class="tsd-kind-icon">options</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="mongoclient.html#readconcern" class="tsd-kind-icon">read<wbr>Concern</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="mongoclient.html#readpreference" class="tsd-kind-icon">read<wbr>Preference</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="mongoclient.html#serverapi" class="tsd-kind-icon">server<wbr>Api</a>
							</li>
							<li class=" tsd-kind-get-signature tsd-parent-kind-class">
								<a href="mongoclient.html#writeconcern" class="tsd-kind-icon">write<wbr>Concern</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#addlistener" class="tsd-kind-icon">add<wbr>Listener</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mongoclient.html#close" class="tsd-kind-icon">close</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mongoclient.html#connect" class="tsd-kind-icon">connect</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mongoclient.html#db" class="tsd-kind-icon">db</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#emit" class="tsd-kind-icon">emit</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="mongoclient.html#eventnames" class="tsd-kind-icon">event<wbr>Names</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mongoclient.html#getlogger" class="tsd-kind-icon">get<wbr>Logger</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="mongoclient.html#getmaxlisteners" class="tsd-kind-icon">get<wbr>Max<wbr>Listeners</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#listenercount" class="tsd-kind-icon">listener<wbr>Count</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#listeners" class="tsd-kind-icon">listeners</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#off" class="tsd-kind-icon">off</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#on" class="tsd-kind-icon">on</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#once" class="tsd-kind-icon">once</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#prependlistener" class="tsd-kind-icon">prepend<wbr>Listener</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#prependoncelistener" class="tsd-kind-icon">prepend<wbr>Once<wbr>Listener</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#rawlisteners" class="tsd-kind-icon">raw<wbr>Listeners</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#removealllisteners" class="tsd-kind-icon">remove<wbr>All<wbr>Listeners</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
								<a href="mongoclient.html#removelistener" class="tsd-kind-icon">remove<wbr>Listener</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="mongoclient.html#setmaxlisteners" class="tsd-kind-icon">set<wbr>Max<wbr>Listeners</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mongoclient.html#startsession" class="tsd-kind-icon">start<wbr>Session</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter">
								<a href="mongoclient.html#watch" class="tsd-kind-icon">watch</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="mongoclient.html#withsession" class="tsd-kind-icon">with<wbr>Session</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="mongoclient.html#connect-1" class="tsd-kind-icon">connect</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
								<a href="mongoclient.html#geteventlistener" class="tsd-kind-icon">get<wbr>Event<wbr>Listener</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
								<a href="mongoclient.html#listenercount-1" class="tsd-kind-icon">listener<wbr>Count</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
								<a href="mongoclient.html#on-1" class="tsd-kind-icon">on</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-is-external">
								<a href="mongoclient.html#once-1" class="tsd-kind-icon">once</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>